﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/MainMaster.master" AutoEventWireup="true"
    CodeFile="login.aspx.cs" Inherits="login" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CssLinkHolder" runat="Server">
    <link href="themes/css/loginFormValidator.css" type="text/css" rel="Stylesheet" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentHolder" runat="Server">
    <div class="login_left">
        <img src="Themes/images/login_img.jpg" width="600" height="352"></div>
    <div class="login_right">
        <div class="loginBox">
            <h1 class="title">
                Please sign in to continue:</h1>
            <div class="loginItem">
                <label for="loginName">
                    Member ID:</label>
                <input id="loginName" name="userName" value="<%=UserName %>" class="inputtext" type="text"
                    value="" size="17" maxlength="160" placeholder="Member ID or Email">
                <div class="loginName" id="loginNameTip">
                    sss
                </div>
            </div>
            <div class="loginItem">
                <label for="Password">
                    Password:</label>
                <input id="Password" name="password" class="inputtext" type="Password" value="" size="17"
                    maxlength="160">
                <div class="Password" id="PasswordTip">
                </div>
            </div>
            <div class="login_act">
                <span class="left">
                    <input type="checkbox" name="chkRemember" value="1" id="chkrgna" checked=""><label
                        for="chkrgna">Remember My ID</label></span> <a class="" href="<%=URLHelper.LinkToRegister() %>"
                            target="_blank">Forgot Password?</a>
            </div>
            <div class="login_sub">
                <button type="submit" id="btnSubmit" name="btnSubmit" class="submit_btn">
                    Sign In</button>
            </div>
            <div class="login_txt">
                Not yet registered? &nbsp;<a href="<%=URLHelper.LinkToRegister() %>">Register now</a></div>
        </div>
        <div class="loginbotbom">
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="JsHolder" runat="Server">
    <script type="text/javascript" src="themes/scripts/formValidator-4.0.1.min.js"></script>
    <script type="text/javascript">
        jQuery(function () {
            jQuery.formValidator.initConfig({ submitButtonID: "btnSubmit", autoTip: false, debug: false, onSuccess: function () { return true; }, onError: function () { } });
            jQuery("#loginName").formValidator({ onShow: " ", onFocus: " ", onCorrect: " " }).inputValidator({ min: 4, empty: { leftEmpty: false, rightEmpty: false, emptyError: "" }, onError: "Member ID is required" });
            jQuery("#Password").formValidator({ onShow: " ", onFocus: " ", onCorrect: " " }).inputValidator({ min: 4, empty: { leftEmpty: false, rightEmpty: false, emptyError: "" }, onError: "Password is  required" });
        });
    </script>
</asp:Content>
